<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
	String path=request.getContextPath();
%>
<jsp:include page="/manage/inc/header.jsp"/>
 <jsp:include page="/manage/inc/menu.jsp"/> 
    <!--/sidebar-->
    <div class="main-wrap">
        <div class="crumb-wrap">
            <div class="crumb-list"><i class="icon-font">&#xe06b;</i><span>欢迎使用『豪情』博客程序，建博的首选工具。</span></div>
        </div>
        <div class="result-wrap">
            <div class="result-title">
                <h1>快捷操作</h1>
            </div>
            <div class="result-content">
                <div class="short-wrap">
                    <a href="<%=path%>/manage/RoomTypeServlet?action=list"><i class="icon-font">&#xe008;</i>房型管理</a>
                    <a href="<%=path%>/manage/RoomServlet?action=list"><i class="icon-font">&#xe005;</i>客房管理</a>
                    <a href="<%=path%>/manage/UserinfoManageServlet?action=init"><i class="icon-font">&#xe008;</i>用户管理</a>
                    <a href="<%=path %>/manage/CheckOutServlet?action=list"><i class="icon-font">&#xe012;</i>退房管理</a>
                    <a href="<%=path%>/manage/RegisterServlet?action=init"><i class="icon-font">&#xe006;</i>登记管理</a>
                </div>
            </div>
        </div>
        <div class="result-wrap">
            <div class="result-title">
                <h1>系统基本信息</h1>
            </div>
            <div class="result-content">
                <ul class="sys-info-list">
                    <li>
                        <label class="res-lab">操作系统</label><span class="res-info">WINDOWS</span>
                    </li>
                    <li>
                        <label class="res-lab">运行环境</label><span class="res-info">Apache/2.2.21 (Win64) JAVA/1.8.23</span>
                    </li>
                    <li>
                        <label class="res-lab">JAVA运行方式</label><span class="res-info">apache2handler</span>
                    </li>
                    <li>
                        <label class="res-lab">feezy设计-版本</label><span class="res-info">v-0.1</span>
                    </li>
                    
                    <li>
                        <label class="res-lab">北京时间</label><span id="time" class="res-info"></span>
                    </li>
                    <li>
                        <label class="res-lab">服务器域名/IP</label><span class="res-info">localhost [ 127.0.0.1 ]</span>
                    </li>
                    
                </ul>
            </div>
        </div>
        <div class="result-wrap">
            <div class="result-title">
                <h1>使用帮助</h1>
            </div>
            <div class="result-content">
                <ul class="sys-info-list">
                    <li>
                        <label class="res-lab">官方交流网站：</label><span class="res-info"><a href="http://www.wanmait.com/" target="_blank">万码学堂</a></span>
                    </li>
                    <li>
                        <label class="res-lab">官方交流QQ群：</label><span class="res-info"><a class="qq-link" target="_blank" href="http://shang.qq.com/wpa/qunwpa?idkey=4ba39c297a33fa548de56a257f6128c7c9e3dd14473e4c86557d93f2197c33e8"><img border="0" src="http://pub.idqqimg.com/wpa/images/group.png" alt="JS-前端开发" title="JS-前端开发"></a> </span>
                    </li>
                </ul>
            </div>
        </div>
    </div>
    <!--/main-->
</div>

<script type="text/javascript">
	setInterval(s,1000);
	function s() {
		//获得当前的系统时间  并且显示到div中间
        //Date类
       var today = new Date();//创建Date的对象  调用Date的构造方法 该构造方法获得当前的系统时间

        var year = today.getFullYear();
       var month = today.getMonth()+1;
       var day = today.getDate();
       var hh = today.getHours();
       var min = today.getMinutes();
       var se = today.getSeconds();
       var time = year+"-"+month+"-"+day+"  "+hh+":"+min+":"+se;

       //设置到div  设置div的innerHTML   span  div   p a  td  ......
       var dx = $("#time");//获得div对象
       dx.html(time);//设置div的innerHTML的内容     
	}
</script>
<jsp:include page="/manage/inc/footer.jsp"/>